import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useListStore = defineStore('menu', () => {
  const count = ref([])
  // const doubleCount = computed(() => count.value * 2)
  function increment(list: any) {
    count.value = list
  }

  return { count, increment }
})
